import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import './assets/http/reset.css';
import axios from 'axios';
import "./assets/icon/iconfont.css"
import aMusic from "./untils/audio.js"
// 引入css样式
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
require('@/views/mvDetails/myVideoCss.css')
import VideoPlayer from 'vue-video-player'
import 'videojs-contrib-hls'

Vue.prototype.$axios = axios;
Vue.prototype.aMusic = aMusic
Vue.use(Vant);
Vue.use(VideoPlayer);



Vue.config.productionTip = false

new Vue({
  router,
  store,
  created() {
    this.aMusic.$vm = this
  },
  render: h => h(App)
}).$mount('#app')
